package com.kehongborui.ticket.model;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-08-14
 */
public class ResultModel {
    private String msg;
    private Object data;

    public ResultModel() {
        this.msg = "success";
    }

    public ResultModel(String msg, Object data) {
        this.msg = msg;
        this.data = data;
    }

    public ResultModel(Object data) {
        this.msg = "success";
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
